package com.qijian.production.domain.query;

import java.math.BigDecimal;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import java.util.Set;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 工单工艺物料需求对象 查询条件类
 *
 * @author zhangcheng
 * @date 2025-03-26
 */

@Data
@ToString
@TableName("sc_work_order_craft_item")
public class ScWorkOrderCraftItemQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "order_detail_id")
    private Long orderDetailId;
    @WhereType(filed = "order_id")
    private Long orderId;
    @WhereType(filed = "demand_id")
    private Long demandId;
    @WhereType(filed = "line_id")
    private Long lineId;
    @WhereType(filed = "line_code")
    private String lineCode;
    @WhereType(filed = "line_process_id")
    private Long lineProcessId;
    @WhereType(filed = "process_id")
    private Long processId;
    @WhereType(filed = "process_code")
    private String processCode;
    @WhereType(filed = "sort")
    private Long sort;
    @WhereType(filed = "bom_id")
    private Long bomId;
    @WhereType(filed = "item_id")
    private Long itemId;
    @WhereType(filed = "item_code")
    private String itemCode;
    @WhereType(filed = "item_name")
    private String itemName;
    @WhereType(filed = "item_spec")
    private String itemSpec;
    @WhereType(filed = "item_units")
    private String itemUnits;
    @WhereType(filed = "qty")
    private BigDecimal qty;
    @WhereType(filed = "remark")
    private String remark;



}
